-- http://www.phpmyadmin.net
--
-- Хост: localhost
-- Время создания: Окт 21 2013 г., 11:21
-- Версия сервера: 5.5.32-log
-- Версия PHP: 5.3.26




-- --------------------------------------------------------

--
-- Структура таблицы `_menu`
--

CREATE TABLE IF NOT EXISTS `_menu` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `parent_id` int(11) NOT NULL,
  `title` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `link` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `position` smallint(3) NOT NULL,
  `disabled` tinyint(1) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `disabled` (`disabled`),
  KEY `parent_id` (`parent_id`),
  KEY `position` (`position`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=15 ;

--
-- Дамп данных таблицы `_menu`
--

INSERT INTO `_menu` (`id`, `parent_id`, `title`, `link`, `position`, `disabled`) VALUES
(5, 0, 'Каталог', './', 6, 0),
(9, 0, 'О нас', 'about', 5, 1),
(7, 0, 'Контакты', 'contact', 1, 0),
(10, 0, 'Отзывы', 'testimonials', 2, 0),
(13, 0, 'Новости', 'blog', 4, 0),
(14, 0, 'Доставка и оплата', 'dostavka-i-oplata', 3, 1);

-- --------------------------------------------------------

--
-- Структура таблицы `_orders`
--

CREATE TABLE IF NOT EXISTS `_orders` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `product_id` int(11) NOT NULL,
  `cart` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `phone` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `email` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `address` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `message` text COLLATE utf8_unicode_ci NOT NULL,
  `paymethod` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `timestamp` int(11) NOT NULL,
  `date` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `step` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  KEY `id` (`id`),
  KEY `id_2` (`id`),
  KEY `id_3` (`id`),
  KEY `id_4` (`id`),
  KEY `id_5` (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=6 ;

--
-- Дамп данных таблицы `_orders`
--

INSERT INTO `_orders` (`id`, `product_id`, `cart`, `name`, `phone`, `email`, `address`, `message`, `paymethod`, `timestamp`, `date`, `step`) VALUES
(4, 0, '', 'Виталий И', '79147588994', 'web65@bk.ru', '', '55', '', 1382340007, '', ''),
(5, 0, '{"191":1}', 'Виталий И', '79147588994', 'web65@bk.ru', '', 'dgdfgf', '', 1382340033, '', '1');

-- --------------------------------------------------------

--
-- Структура таблицы `_pano`
--

CREATE TABLE IF NOT EXISTS `_pano` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `file` varchar(16) COLLATE utf8_unicode_ci NOT NULL,
  `link` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `timestamp` int(11) NOT NULL,
  `position` smallint(3) NOT NULL,
  `disabled` tinyint(1) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `position` (`position`),
  KEY `disabled` (`disabled`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Структура таблицы `_products`
--

CREATE TABLE IF NOT EXISTS `_products` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `category_id` int(11) NOT NULL,
  `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `price` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `price_old` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `brief` text COLLATE utf8_unicode_ci NOT NULL,
  `description_wiki` text COLLATE utf8_unicode_ci NOT NULL,
  `description_html` text COLLATE utf8_unicode_ci NOT NULL,
  `seotext_wiki` text COLLATE utf8_unicode_ci NOT NULL,
  `seotext_html` text COLLATE utf8_unicode_ci NOT NULL,
  `title` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `keywords` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `description` text COLLATE utf8_unicode_ci NOT NULL,
  `timestamp` int(11) NOT NULL,
  `picture` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `album` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `label` varchar(16) COLLATE utf8_unicode_ci NOT NULL,
  `also` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `position` smallint(3) NOT NULL,
  `position_main` smallint(3) NOT NULL,
  `main` tinyint(1) NOT NULL,
  `disabled` tinyint(1) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `disabled` (`disabled`),
  KEY `timestamp` (`timestamp`),
  KEY `position` (`position`),
  KEY `category_id` (`category_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=196 ;

--
-- Дамп данных таблицы `_products`
--

INSERT INTO `_products` (`id`, `category_id`, `name`, `price`, `price_old`, `brief`, `description_wiki`, `description_html`, `seotext_wiki`, `seotext_html`, `title`, `keywords`, `description`, `timestamp`, `picture`, `album`, `label`, `also`, `position`, `position_main`, `main`, `disabled`) VALUES
(190, 0, 'Роза 60 см', '63', '70', '', '', '', '', '', '', '', '', 0, '19033beb.png', '', 'promo', '', 999, 0, 1, 0),
(191, 0, 'Роза 70 см', '72', '80', '', '', '', '', '', '', '', '', 0, '1914f750.png', '', 'promo', '', 999, 0, 1, 0),
(192, 0, '21 белая роза 60 см', '1320', '1470', '', '', '', '', '', '', '', '', 0, '192471e8.png', '', 'promo', '', 999, 0, 1, 0),
(193, 0, '25 красных роз', '1500', '1750', '', '', '', '', '', '', '', '', 0, '19372e6d.png', '', 'hit', '', 999, 0, 1, 0),
(194, 0, '101 красная роза 60 см', '6000', '7000', '', '', '', '', '', '', '', '', 0, '194c9048.png', '', 'discount', '', 999, 0, 1, 0),
(195, 0, '101 белая роза 60 см', '6000', '7000', '', '', '', '', '', '', '', '', 0, '195e7cc8.png', '', 'hit', '', 999, 0, 1, 0);

-- --------------------------------------------------------

--
-- Структура таблицы `_product_structure`
--

CREATE TABLE IF NOT EXISTS `_product_structure` (
  `product_id` int(11) NOT NULL,
  `category_id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Дамп данных таблицы `_product_structure`
--

INSERT INTO `_product_structure` (`product_id`, `category_id`) VALUES
(12, 8),
(12, 6),
(12, 4),
(17, 7),
(18, 12),
(18, 5),
(19, 12),
(20, 11),
(19, 6),
(20, 6),
(21, 12),
(21, 6),
(22, 12),
(22, 6),
(23, 12),
(23, 6),
(24, 12),
(24, 6),
(25, 12),
(25, 6),
(26, 12),
(26, 6),
(27, 5),
(28, 5),
(29, 5),
(30, 5),
(31, 5),
(32, 5),
(33, 5),
(34, 5),
(35, 6),
(36, 6),
(37, 6),
(38, 5),
(39, 6),
(40, 6),
(41, 6),
(42, 6),
(43, 6),
(44, 6),
(45, 6),
(46, 6),
(47, 6),
(48, 12),
(48, 10),
(48, 6),
(49, 12),
(49, 10),
(49, 6),
(50, 12),
(50, 10),
(50, 6),
(51, 12),
(51, 10),
(51, 5),
(52, 12),
(52, 10),
(52, 5),
(53, 12),
(53, 10),
(53, 5),
(54, 9),
(55, 9),
(56, 9),
(57, 9),
(58, 9),
(59, 6),
(59, 9),
(60, 6),
(60, 9),
(61, 6),
(61, 9),
(62, 7),
(62, 9),
(63, 7),
(63, 9),
(64, 7),
(64, 9),
(65, 6),
(65, 12),
(66, 14),
(67, 6),
(67, 14),
(68, 6),
(68, 14),
(69, 6),
(69, 14),
(70, 6),
(70, 14),
(71, 14),
(71, 6),
(72, 12),
(72, 14),
(72, 6),
(73, 5),
(73, 14),
(74, 6),
(74, 14),
(75, 7),
(75, 14),
(76, 6),
(76, 14),
(77, 6),
(77, 14),
(78, 6),
(79, 12),
(79, 6),
(80, 12),
(80, 6),
(81, 6),
(82, 6),
(83, 12),
(83, 6),
(84, 6),
(85, 6),
(86, 6),
(86, 10),
(87, 6),
(88, 12),
(88, 5),
(89, 12),
(89, 5),
(90, 12),
(90, 5),
(91, 5),
(91, 12),
(92, 5),
(92, 12),
(93, 5),
(94, 5),
(95, 5),
(96, 5),
(97, 5),
(98, 5),
(98, 10),
(95, 10),
(94, 10),
(93, 10),
(97, 10),
(99, 5),
(99, 10),
(100, 6),
(100, 10),
(101, 6),
(101, 10),
(102, 5),
(102, 10),
(103, 6),
(104, 6),
(105, 6),
(106, 12),
(106, 6),
(107, 6),
(107, 12),
(107, 11),
(108, 6),
(108, 12),
(109, 6),
(110, 6),
(111, 6),
(112, 6),
(113, 6),
(114, 6),
(114, 12),
(115, 6),
(116, 6),
(116, 10),
(116, 12),
(117, 6),
(118, 5),
(119, 5),
(120, 6),
(121, 6),
(121, 12),
(122, 12),
(122, 6),
(123, 12),
(124, 12),
(125, 6),
(125, 12),
(126, 6),
(126, 12),
(127, 5),
(127, 12),
(128, 6),
(128, 12),
(129, 5),
(129, 12),
(130, 6),
(130, 12),
(131, 6),
(132, 6),
(133, 7),
(134, 6),
(134, 12),
(135, 6),
(135, 12),
(136, 5),
(136, 10),
(137, 10),
(137, 6),
(138, 10),
(138, 6),
(139, 6),
(139, 10),
(140, 6),
(140, 10),
(141, 6),
(141, 10),
(142, 6),
(142, 10),
(143, 6),
(143, 10),
(144, 6),
(144, 10),
(145, 6),
(145, 10),
(146, 6),
(146, 10),
(147, 6),
(147, 10),
(148, 6),
(148, 7),
(148, 10),
(149, 5),
(150, 7),
(151, 6),
(152, 6),
(153, 6),
(153, 10),
(154, 6),
(155, 6),
(156, 6),
(157, 7),
(158, 5),
(159, 6),
(160, 6),
(161, 6),
(162, 6),
(163, 6),
(164, 6),
(165, 6),
(166, 5),
(167, 5),
(168, 5),
(169, 12),
(169, 5),
(170, 6),
(171, 5),
(172, 5),
(173, 6),
(174, 6),
(175, 6),
(176, 5),
(177, 6),
(178, 6),
(179, 6),
(180, 0),
(181, 6),
(182, 6),
(182, 12),
(183, 6),
(183, 12),
(184, 5),
(186, 0),
(187, 15),
(188, 15),
(189, 0),
(190, 16),
(191, 16),
(192, 17),
(193, 17),
(194, 17),
(195, 17);

-- --------------------------------------------------------

--
-- Структура таблицы `_testimonials`
--

CREATE TABLE IF NOT EXISTS `_testimonials` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `phone` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `city` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `duties` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `website` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `message` text COLLATE utf8_unicode_ci NOT NULL,
  `timestamp` int(11) NOT NULL,
  `picture` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `position` smallint(3) NOT NULL,
  `disabled` tinyint(1) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `position` (`position`),
  KEY `disabled` (`disabled`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=27 ;

--
-- Дамп данных таблицы `_testimonials`
--

INSERT INTO `_testimonials` (`id`, `name`, `phone`, `city`, `duties`, `website`, `message`, `timestamp`, `picture`, `position`, `disabled`) VALUES
(26, 'Шевченко Денис', '25-25-25', 'Ю-Сахалинск', 'Менеджер', '', 'Спасибо! Все очень понравилось! Успехов и процветания!', 1352304471, '26a15d7.jpg', 0, 0);

-- --------------------------------------------------------

--
-- Структура таблицы `_themes`
--

CREATE TABLE IF NOT EXISTS `_themes` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `description` text COLLATE utf8_unicode_ci NOT NULL,
  `settings` text COLLATE utf8_unicode_ci NOT NULL,
  `author` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `picture` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=8 ;

--
-- Дамп данных таблицы `_themes`
--

INSERT INTO `_themes` (`id`, `name`, `description`, `settings`, `author`, `picture`) VALUES
(4, 'Стандартная', 'Тема оформления по умолчанию', '{"body_bg_color":"#E7DECD","body_bg_image":"","body_bg_pattern":"4ead34.png","body_pattern_fixed":null,"body_bg_fixed":"0","menu_link_color":"#222222","menu_bg_color":"0","menu_bg_opacity":"0.3","text_color":"#575757","header_color":"#000000","price_color":"#222222","block_bg_color":"#ffffff","phone_color":"#000000","link_color":"#222222","foot_bg_color":"#ffffff","foot_font_color":"#222222","foot_link_color":"#222222","button_bg_color":"#B01A33","button2_bg_color":"#CECECE","button_font_color":"#ffffff","button2_font_color":"#222222"}', '', ''),
(7, 'Цветы', '', '{"body_bg_color":"#ffffff","body_bg_image":"","body_bg_pattern":"pattern51d2e7.png","body_pattern_fixed":"1","body_bg_fixed":"0","menu_link_color":"#910359","menu_bg_color":"0","menu_bg_opacity":"1.0","text_color":"#393737","header_color":"#000000","price_color":"#292929","block_bg_color":"#f3cae0","phone_color":"#000000","link_color":"#910359","foot_bg_color":"#f3cae0","foot_font_color":"#000000","foot_link_color":"#910359","button_bg_color":"#b01a83","button2_bg_color":"#d9d9d9","button_font_color":"#ffffff","button2_font_color":"#000000"}', '', '');

